<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<link href="<s:url value="/css/main.css"/>" rel="stylesheet" type="text/css"/>
	<title><s:text name="application.title"/></title>
</head>
<body>

<s:actionerror/>

<div class="titleDiv"><s:text name="application.title"/></div>

<h1><s:text name="label.listUnits"/>: "<s:property value="subject.Nombre"/>"</h1>

<table class="borderAll">
		    <tr>
		        <th><s:text name="label.Subject.unit"/></th>
		        <th><s:text name="label.Subject.content"/></th>

		        <th>&nbsp;&nbsp;</th>
		    </tr>
		    <s:iterator value="unitList" status="status">
		        <tr class="<s:if test="#status.even">even</s:if><s:else>odd</s:else>">
		            <td class="nowrap"><s:property value="%{ titulo }"/></td>
		            <td class="nowrap"><s:property value="%{ contenido }"/></td>
		        </tr>
			</s:iterator>	
	</table>

	<BR>

	<s:form action="lecturerAction">
		<s:submit value="%{getText('label.button.cancel')}" align="center"/>		
	</s:form>
		
</body>
</html>